package com.xiaoyu.client.model.seek;

import java.io.Serializable;
import java.util.List;

/**
 * Created by jk on 2018/10/15.
 * @Description 求助实体类
 */
public class SeekParam implements Serializable{
    /**
     * seekid : 1
     * seektitle : 1321321321321
     * seekimg : ["http://rh-gwc.oss-cn-beijing.aliyuncs.com/temp/DE0AC6A1-4E93-4F9C-A38D-1341A7FCFD21.jpg","http://rh-gwc.oss-cn-beijing.aliyuncs.com/temp/641F724A-3048-4BD3-AE2E-CB5E8E90EF38.jpg"]
     * seephelpid : 1
     * seekstate : 1
     * seekress : 天津
     * seektime : 11:38
     * seeksum : 0
     * userid : 1
     * seephelpname : 问路
     * nickname : 测试用户
     * userphoto : http://gwc.oss-cn-beijing.aliyuncs.com/2016-09-19_16:49:15.jpg
     "seekcontent": "阿斯顿发萨法撒的发生大",
     "collection": "true"
     */

    private String seekid;//求助的id
    private String seektitle;//求助描述
    private String seekcontent;//追问内容
    private String seephelpid;
    private String seekstate;//求助状态：0未解决，1已解决
    private String seekress;//地址（当时发表求助的地址）
    private String seektime;//发表时间（当天限时的是时间，一天之后限时的是日期）
    private String seeksum;//帮助的数量（UI图上的以帮助）
    private String userid;//用户id
    private String seephelpname;//求助的类别
    private String nickname;//用户名
    private String userphoto;//用户头像
    private String collection;//是否收藏，“true"已收藏
    private List<String> seekimg;//求助图片（没有图片不显示，列表页最多3张）


    public String getSeekid() {
        return seekid;
    }

    public void setSeekid(String seekid) {
        this.seekid = seekid;
    }

    public String getSeektitle() {
        return seektitle;
    }

    public void setSeektitle(String seektitle) {
        this.seektitle = seektitle;
    }

    public String getSeephelpid() {
        return seephelpid;
    }

    public void setSeephelpid(String seephelpid) {
        this.seephelpid = seephelpid;
    }

    public String getSeekcontent() {
        return seekcontent;
    }

    public void setSeekcontent(String seekcontent) {
        this.seekcontent = seekcontent;
    }

    public String getSeekstate() {
        return seekstate;
    }

    public void setSeekstate(String seekstate) {
        this.seekstate = seekstate;
    }

    public String getSeekress() {
        return seekress;
    }

    public void setSeekress(String seekress) {
        this.seekress = seekress;
    }

    public String getSeektime() {
        return seektime;
    }

    public void setSeektime(String seektime) {
        this.seektime = seektime;
    }

    public String getSeeksum() {
        return seeksum;
    }

    public void setSeeksum(String seeksum) {
        this.seeksum = seeksum;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getSeephelpname() {
        return seephelpname;
    }

    public void setSeephelpname(String seephelpname) {
        this.seephelpname = seephelpname;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getUserphoto() {
        return userphoto;
    }

    public void setUserphoto(String userphoto) {
        this.userphoto = userphoto;
    }

    public List<String> getSeekimg() {
        return seekimg;
    }

    public void setSeekimg(List<String> seekimg) {
        this.seekimg = seekimg;
    }

    public boolean isCollect() {
        return collection.equals("true") ? true : false;
    }

    public void setCollection(String collection) {
        this.collection = collection;
    }
}

